package com.os.sys.service.bean;

public class ZTreeNode {
   private String id = "";
   
   private String name = "";
   
   private String isParent = "true";
   
   private String icon = "";
   
   private String checked ="false";
   
   private String halfCheck="false";
   //操作权限，目前是一个7位的串
   private String oper;

	public String getIcon() {
		return icon;
	}
	
	public void setIcon(String icon) {
		this.icon = icon;
	}
	
	public String getId() {
		return id;
	}
	
	public void setId(String id) {
		this.id = id;
	}
	
	public String getIsParent() {
		return isParent;
	}
	
	public void setIsParent(String isParent) {
		this.isParent = isParent;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}

	public ZTreeNode() {
		super();
	}

	public String getChecked() {
		return checked;
	}

	public void setChecked(String checked) {
		this.checked = checked;
	}

	public ZTreeNode(String id, String name, String isParent, String icon) {
		super();
		this.id = id;
		this.name = name;
		this.isParent = isParent;
		this.icon = icon;
	}

	public String getHalfCheck() {
		return halfCheck;
	}

	public void setHalfCheck(String halfCheck) {
		this.halfCheck = halfCheck;
	}

	public String getOper() {
		//分别代表：查看，增加，修改，删除，打印，导出，导出
		return oper==null?"0000000":oper;
	}

	public void setOper(String oper) {
		this.oper = oper;
	}
	
	private String code;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
   
	
   
}
